home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / checkbox / plugins / delay_prompt.pyc (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2009-10-12  |  779 b   |  17 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.6)
  3.  
  4. from time import sleep
  5. from checkbox.properties import Float
  6. from checkbox.plugin import Plugin
  7.  
  8. class DelayPrompt(Plugin):
  9.     timeout = Float(default = 0)
  10.     
  11.     def __init__(self):
  12.         super(DelayPrompt, self).__init__()
  13.         sleep(self.timeout)
  14.  
  15.  
  16. factory = DelayPrompt
  17.